package com.weishaoying.example.security.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author WeiShaoying
 * @date 2018/4/3
 */
@Data
@NoArgsConstructor
public class SysUser implements Serializable{

    private static final long serialVersionUID = -1662805281555450023L;
    private Integer id;
    private String username;
    private String password;
    private String role;

    public SysUser(Integer id, String username, String password, String role) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.role = role;
    }
}
